/**
 * 
 */
package travibot.model;

import java.util.HashMap;
import java.util.Map;

/**
 * Class that represents material production of a village. Should contain
 * mechanism that updates the Stock amounts while the session is disconnected.
 * 
 * @author Petr Macek
 * 
 */
public class Production {

    
    private Map<Material, Integer> productionMap = new HashMap<Material, Integer>();
    
    public void setAmount(Material material, Integer amount){
        productionMap.put(material, amount);
    }
    
    public int getAmount(Material material){
        return productionMap.get(material);
    }
}
